import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
	state:{
		conter:1000
	},
	mutations:{
		
	},
	actions:{
		
	},
	getters:{
		powerCounter(state){
			return state.conter * state.conter 
		}
	},
	modules:{
		
	}
})
export default store //导出